package com.ruoyi.business.alarm.domain;

import java.io.Serializable;

/**
 * 门状态信息（用于Redis存储）
 * 
 * @author ruoyi
 */
public class DoorStatusInfo implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    /** 门状态（true=开，false=关） */
    private Boolean status;
    
    /** 报警ID（如果正在报警） */
    private Long alarmId;
    
    public DoorStatusInfo() {
    }
    
    public DoorStatusInfo(Boolean status, Long alarmId) {
        this.status = status;
        this.alarmId = alarmId;
    }
    
    public Boolean getStatus() {
        return status;
    }
    
    public void setStatus(Boolean status) {
        this.status = status;
    }
    
    public Long getAlarmId() {
        return alarmId;
    }
    
    public void setAlarmId(Long alarmId) {
        this.alarmId = alarmId;
    }
}

